// JavaScript Document
var currentid = '';  
function extend(id)
{
	if (id == currentid)
	{
		$(currentid).style.display = "none";
		currentid = ''
		return;
	}
	$(id).style.display = "";
	if (currentid != '')
		$(currentid).style.display = "none";
	currentid = id;
}

function hide(id)
{
	$(id).style.display = "none";
	currentid = '';
	
}